/**
 * 封装轮播图组件
 * Author:碰磕
 */
import React, { Component } from 'react';
import PengKeSwiper from './swiper/MySwiper';
class MySwiper extends Component {
    state={
        list:["https://www.keaidian.com/uploads/allimg/190424/24110307_6.jpg","https://www.keaidian.com/uploads/allimg/190424/24110307_20.jpg","https://www.keaidian.com/uploads/allimg/190424/24110307_35.jpg"],
        flag:true
    }
   
    render() {
        return (
            <PengKeSwiper list={this.state.list} loop={this.state.flag}></PengKeSwiper>
        );
    }
}

export default MySwiper;